#ifndef					EVENTZONE_HH
# define				EVENTZONE_HH

# include				<SFML/Graphics.hpp>

class					EventZone
{
private:
	//					Attributes
	sf::RenderWindow	&_window;
	float				_x;
	float				_y;
	float				_height;
	float				_width;
	float				_thickness;
	sf::Color			_fillColor;
	sf::Color			_outColor;
	sf::Rect<float>		*_zoneRect;
	sf::RectangleShape	_graphicRect;
	bool				_onZone;
	bool				_selectedZone;

public:
	//					Ctor-Dtor
	EventZone(sf::RenderWindow &window, float x, float y, float width, float height, float thickness, sf::Color fillColor, sf::Color outColor);
	~EventZone();

	//					Functions
	bool				clickedOnZone();
	void				draw();
	void				mouseOnZone(float x, float y);

	//					Getters
	bool		const	getSelected() const;
};

#endif;